--[[-- @Author:      feilong-- @DateTime:    2020-10-30 23:05:48-- @Description: proto 消息对应的 id 与 name	写在服务端这是为了安全一些--]]--[[--节点类型有指定范围的msg_id--每个msg_id 对应消息名--每个消息名 对应msg_id]]--消息id对应消息名local protoIDs = {	["games.REQ_PING"] = 1000,	["games.RES_PING"] = 1001,	["games.REQ_LOGIN"] = 1002,	["games.RES_LOGIN"] = 1003,	["games.REQ_REGISTER"] = 1004,	["games.RES_REGISTER"] = 1005,	["games.REQ_DESK_ENTER"] = 1006,	["games.RES_DESK_ENTER"] = 1007,	["games.REQ_DESK_LEAVE"] = 1008,	["games.RES_DESK_LEAVE"] = 1009,	["games.REQ_DESK_SITDOWN"] = 1010,	["games.RES_DESK_SITDOWN"] = 1011,	["games.REQ_DESK_SITUP"] = 1012,	["games.RES_DESK_SITUP"] = 1013,	["games.REQ_DESK_MATCH"] = 1014,	["games.RES_DESK_MATCH"] = 1015,}local Proto = {}for k, v in pairs(protoIDs) do	Proto[k] = v --名字对应id    Proto[v] = k --id对应名字endreturn Proto